package erp.education.server.db.entites.setup.school;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name = "branch_details")
public class Branchs implements Serializable {

	@Id
	@TableGenerator(name = "branch_gen", table = "seq_keys", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "branch_gen")
	@Column(name = "branchId")
	private Long branchId;

	@Column(name = "schoolid")
	private Long schoolId;
	@Column(name = "branchname")
	private String branchName;
	@Column(name = "address")
	private String address;

	@Column(name = "phno")
	private String phoneNo;
	@Column(name = "faxno")
	private String faxNo;
	@Column(name = "emailid")
	private String emailId;

	public Branchs() {

	}

	public Long getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Long schoolId) {
		this.schoolId = schoolId;
	}

	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getFaxNo() {
		return faxNo;
	}

	public void setFaxNo(String faxNo) {
		this.faxNo = faxNo;
	}

	public String getEmailId() {
		return emailId;
	}

	public void setEmailId(String emailId) {
		this.emailId = emailId;
	}

	public Long getBranchId() {
		return branchId;
	}

}
